Return

Edit Task: SetPossibilityResourceUsageType

Format

SCHED / EditTask '<TaskName>' SetPossibilityResourceUsageType '<PossibilityName>' '<ResourceName>' <CapacityType>

Description

The SetPossibilityResourceUsageType attribute under EditTask defines the resource usage's capacity type for a single task possibility.

Parameters

ParameterDescription
PossibilityNameA string of text with a comma delimited list of resources in the possibility, surrounded by single quotes. Order is not required and the resource names should not be in quotes.
ResourceNameA string of text in single quotes of the resource that is to be defined by the command.
CapacityTypeOptions are Resilient, Deplete, Replenish, DeleteAtStop, ReplenishAtStart, SetEndValue, WithinRange, or NA. This value must be compatible with the corresponding resource capacity attributes.

Examples

Change the resource usage type to Deplete for ResB in the possibility that uses ResA, ResB and ResC

SCHED / EditTask 'TaskA' SetPossibilityResourceUsageType 'ResA,ResB,ResC' 'ResB' Deplete